a:13:{s:8:"provides";a:0:{}s:8:"filelist";a:28:{s:9:"Sigma.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:54:"C:\xarelease149\xampp\php\pear\HTML\Template\Sigma.php";}s:29:"tests/templates/addblock.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:86:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\addblock.html";}s:35:"tests/templates/blockiteration.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:92:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\blockiteration.html";}s:27:"tests/templates/blocks.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:84:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\blocks.html";}s:29:"tests/templates/callback.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:86:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\callback.html";}s:28:"tests/templates/globals.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\globals.html";}s:30:"tests/templates/__include.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:87:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\__include.html";}s:28:"tests/templates/include.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\include.html";}s:37:"tests/templates/loadtemplatefile.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:94:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\loadtemplatefile.html";}s:33:"tests/templates/replaceblock.html";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:90:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates\replaceblock.html";}s:30:"tests/Console_TestListener.php";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:87:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\Console_TestListener.php";}s:28:"tests/Sigma_api_testcase.php";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\Sigma_api_testcase.php";}s:30:"tests/Sigma_cache_testcase.php";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:87:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\Sigma_cache_testcase.php";}s:30:"tests/Sigma_usage_testcase.php";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:87:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\Sigma_usage_testcase.php";}s:14:"tests/test.php";a:3:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:71:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\test.php";}s:18:"docs/example_1.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:74:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\example_1.php";}s:18:"docs/example_2.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:74:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\example_2.php";}s:18:"docs/example_3.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:74:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\example_3.php";}s:18:"docs/example_4.php";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:74:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\example_4.php";}s:29:"docs/templates/example_1.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_1.html";}s:29:"docs/templates/example_2.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_2.html";}s:29:"docs/templates/example_3.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_3.html";}s:33:"docs/templates/example_3_add.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:89:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_3_add.html";}s:37:"docs/templates/example_3_include.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:93:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_3_include.html";}s:39:"docs/templates/example_3_replace_1.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:95:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_3_replace_1.html";}s:39:"docs/templates/example_3_replace_2.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:95:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_3_replace_2.html";}s:29:"docs/templates/example_4.html";a:3:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:13:"HTML/Template";s:12:"installed_as";s:85:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates\example_4.html";}s:7:"dirtree";a:6:{s:44:"C:\xarelease149\xampp\php\pear\HTML\Template";b:1;s:35:"C:\xarelease149\xampp\php\pear\HTML";b:1;s:72:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests\templates";b:1;s:62:"C:\xarelease149\xampp\php\pear\tests\HTML_Template_Sigma\tests";b:1;s:60:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs";b:1;s:70:"C:\xarelease149\xampp\php\pear\docs\HTML_Template_Sigma\docs\templates";b:1;}}s:7:"package";s:19:"HTML_Template_Sigma";s:7:"summary";s:79:"An implementation of Integrated Templates API with template 'compilation' added";s:11:"description";s:1141:"HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
Features:
* Nested blocks. Nesting is controlled by the engine.
* Ability to include files from within template: <!-- INCLUDE -->
* Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available)
* Methods for runtime addition and replacement of blocks in templates
* Ability to insert simple function calls into templates: func_uppercase('Hello world!') and to define callback functions for these
* 'Compiled' templates: the engine has to parse a template file using regular expressions to find all the blocks and variable placeholders. This is a very "expensive" operation and is an overkill to do on every page request: templates seldom change on production websites. Thus this feature: an internal representation of the template structure is saved into a file and this file gets loaded instead of the source one on subsequent requests (unless the source changes)
* PHPUnit-based tests to define correct behaviour
* Usage examples for most of the features are available, look in the docs/ directory";s:11:"maintainers";a:1:{i:0;a:4:{s:6:"handle";s:3:"avb";s:4:"name";s:13:"Alexey Borzov";s:5:"email";s:11:"avb@php.net";s:4:"role";s:4:"lead";}}s:7:"version";s:5:"1.1.1";s:12:"release_date";s:10:"2004-05-31";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:109:"Callbacks are not called if the block containing them is empty. Thanks
to Sergey Vasiliev for the suggestion.";s:9:"changelog";a:7:{i:0;a:4:{s:7:"version";s:5:"1.1.0";s:12:"release_date";s:10:"2004-04-14";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:422:"* Fixed #876 (get_class() and get_class_methods() usage with PHP5)
Unit tests run on PHP5, all tests pass.
* Added clearVariables() method (see also #939)
* Added shorthand syntax for callbacks: {var:callback} instead of
func_callback({var})
* Added builtin callbacks
'h' for htmlspecialchars()
'u' for urlencode()
'j' to escape the string for usage in Javascript
This release is dedicated to Lukas Smith
";}i:1;a:4:{s:7:"version";s:5:"1.0.2";s:12:"release_date";s:10:"2003-10-02";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:203:"* Removed _callbackExists() method, is_callable() is used instead
* Check for SIGMA_OK instead of PEAR::isError() where possible
* Fixed unit tests packaging. Should work OK in PEAR installation
";}i:2;a:4:{s:7:"version";s:5:"1.0.1";s:12:"release_date";s:10:"2003-05-20";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:258:"* Added getBlockList() and getPlaceholderList() methods (thanks to Markus Wolff for the idea).
* HTML_Template_IT compatibility: get() does not clear the parsed block contents by default.
* Removed obsolete docs, current ones are in the PEAR manual.
";}i:3;a:4:{s:7:"version";s:3:"1.0";s:12:"release_date";s:10:"2003-04-28";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1569:"This release has Sigma's template functions/callbacks infrastructure significantly enhanced.
This unfortunately means some backwards compatibility breaks. If you were using callbacks before, please carefully examine the release notes and test you scripts before upgrading to 1.0.
If you weren't using callbacks due to their shortcomings it is a good time to give them a try, consult docs/example_4.php for some of their possible applications.
Template functions/callbacks changes and incompatibilities:
* Templates are parsed for function calls not only on setTemplate()/loadTemplatefile(), but on addBlock()/addBlockfile() and replaceBlock()/replaceBlockfile() as well.
* The arguments to template functions can now contain variable placeholders: func_uppercase('Hello, {username}!).
* Template functions are now compatible with template caching.
* Method setCallbackFunction() now accepts a callback that is compatible with call_user_func() as its second argument. Its third argument is used to control variable substitution in function arguments.
* Method performCallback() was removed. Callbacks are now called automatically when the block containing them is parse()'d.
* Callbacks are now called via call_user_func_array() instead of call_user_func(). This makes it possible to use built-in functions as callbacks, but also means that you have to rewrite your old functions!
* Usage example is available in docs/example_4.php
Other changes:
* Option 'use_preg' was removed.
* Stricter error checking when doing addBlockfile() with a prepared template.
* This is the last 0.9.x release unless some bugs are found. The 1.0 release will
have callbacks significantly redone and will require changes to your scripts if
you use callbacks.
";}i:5;a:4:{s:7:"version";s:5:"0.9.1";s:12:"release_date";s:10:"2003-04-18";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:149:"* Fix: if source template does not exist, do not load the 'prepared' one, throw an error instead.